package ai.mspbots.trace.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import brave.Tracer;

@Configuration
public class GatewayConfig {

    @Bean
    public TraceIdGatewayFilterFactory traceIdGatewayFilterFactory(Tracer tracer) {
        return new TraceIdGatewayFilterFactory(tracer);
    }
}